package com.qlu.casualtalk.domain.po;

import com.qlu.casualtalk.enums.Status;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String account;
    private String password;  // 密码使用md5加密存储
    private String nickname;
    private Status status;
    private String email;
    private String phone;
    private Date birthday;
    private String sex;
    private String avatar;
    private String address;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private LocalDateTime lastLogin;
}
